<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
  <head><title><s:text name="user.show.title" /></title></head>
  <body>
      <h1><s:text name="user.show.title" /></h1>

      <a href="/user/user!input.action"><s:text name="user.create" /></a>

      <ol>
          <s:iterator value="users">
              <li><b><s:property value="firstName" /></b>
                  (<a href="<s:property value="email" />"><s:property value="email" /></a>)
                  <a href="/user/user!edit.action?user.id=<s:property value="id" />"><s:text name="user.edit" /></a>
                  <a href="/user/user!delete.action?user.id=<s:property value="id" />"><s:text name="user.delete" /></a>
              </li>
          </s:iterator>
      </ol>

  </body>
</html>